package pojo.equip;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Limohan
 */
public class EquipMsgProperty {
    private StringProperty id = new SimpleStringProperty();
    private StringProperty code = new SimpleStringProperty();
    private StringProperty name= new SimpleStringProperty();
    private StringProperty type= new SimpleStringProperty();
    private StringProperty mode = new SimpleStringProperty();
    private StringProperty equipState= new SimpleStringProperty();
    private StringProperty rentState = new SimpleStringProperty();
    private StringProperty factory= new SimpleStringProperty();
    private StringProperty detail= new SimpleStringProperty();
    private StringProperty source= new SimpleStringProperty();


    public EquipMsgProperty() {
    }
    public String getSource() {
        return source.get();
    }

    public StringProperty sourceProperty() {
        return source;
    }

    public void setSource(String source) {
        this.source.set(source);
    }

    public String getDetail() {
        return detail.get();
    }

    public StringProperty detailProperty() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail.set(detail);
    }

    public String getId() {
        return id.get();
    }

    public StringProperty idProperty() {
        return id;
    }

    public void setId(String id) {
        this.id.set(id);
    }

    public String getCode() {
        return code.get();
    }

    public StringProperty codeProperty() {
        return code;
    }

    public void setCode(String code) {
        this.code.set(code);
    }

    public String getName() {
        return name.get();
    }

    public StringProperty nameProperty() {
        return name;
    }

    public void setName(String name) {
        this.name.set(name);
    }

    public String getType() {
        return type.get();
    }

    public StringProperty typeProperty() {
        return type;
    }

    public void setType(String type) {
        this.type.set(type);
    }

    public String getMode() {
        return mode.get();
    }

    public StringProperty modeProperty() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode.set(mode);
    }

    public String getEquipState() {
        return equipState.get();
    }

    public StringProperty equipStateProperty() {
        return equipState;
    }

    public void setEquipState(String equipState) {
        this.equipState.set(equipState);
    }

    public String getRentState() {
        return rentState.get();
    }

    public StringProperty rentStateProperty() {
        return rentState;
    }

    public void setRentState(String rentState) {
        this.rentState.set(rentState);
    }

    public String getFactory() {
        return factory.get();
    }

    public StringProperty factoryProperty() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory.set(factory);
    }
}
